/*
 * DictionaryIterator.hh
 *
 *  Created on: 26/05/2010
 *      Author: prodrig
 */

#ifndef DICTIONARYITERATOR_HH_
#define DICTIONARYITERATOR_HH_

#include "IIterator.h"
#include "ICollectible.h"
#include "IDictionary.h"

class DictionaryIterator: public IIterator {
private:
	IIterator *it;
	IDictionary *dic;
public:
	DictionaryIterator(IIterator*, IDictionary*);
	virtual void next();
	virtual ICollectible* current();
	virtual bool hasCurrent();
	virtual ~DictionaryIterator();
};

#endif /* DICTIONARYITERATOR_HH_ */
